<%-- 
    Document   : fileDownload
    Created on : 2009-2-26, 22:36:44
    Author     : cyp
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="sunsite.tools.*,java.util.*,sunsite.service.*" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>文件下载</title>
    </head>
    <body>
        <form action="fileDownload.action" method="POST" enctype="multipart/form-data">
            <input type="hidden" name="type" value="submit"/>
        <table>
            <tr>
                <td>名称</td>
                <td>下载次数</td>
                <td>下载</td>
            </tr>
            <s:iterator value="ResourceList" status="stat">
                    <tr>
                        <td align="center"><s:property value="resName"/></td>
                        <td align="center"><s:property value="count" /></td>
                        <td align="center"><a href="fileDownload.action?type=download&&resId=<s:property value="resId"/>"><img src="images/download.gif" alt="" /></a></td>
                    </tr>
            </s:iterator>            
        </table>
        </form>
    </body>
</html>
